const compare = function (a: any, b: any) {
  if (typeof a == 'string') {
    return a.localeCompare(b, 'en');
  } else {
    return a > b;
  }

}

export default {
  mailBoxColumns1: [ //
    {
      title: '标题名称',
      dataIndex: 'instanceName',
      key: 'instanceName',
    },
    {
      title: '类型',
      dataIndex: 'typeName',
      key: 'typeName',
      showSorterTooltip: false,
    },
    {
      title: '剩余流转时间（时:分）',
      dataIndex: 'remainTime',
      key: 'remainTime',
    },
    {
      title: '操作',
      dataIndex: 'oparation',
      key: 'oparation',
      width: 266,
      ellipsis: true,//文字超过宽度都会出现省略号

    },
  ],
  mailBoxColumns2: [ //
    {
      title: '标题名称',
      dataIndex: 'instanceName',
      key: 'instanceName',
    },
    {
      title: '审核结果',
      dataIndex: 'auditResult',
      key: 'auditResult',
    },
    {
      title: '类型',
      dataIndex: 'typeName',
      key: 'typeName',
    },
    {
      title: '操作',
      dataIndex: 'oparation',
      key: 'oparation',
      width: 60,
      ellipsis: true,//文字超过宽度都会出现省略号

    },
  ],
  mailBoxColumns3: [ //
    {
      title: '标题名称',
      dataIndex: 'instanceName',
      key: 'instanceName',
    },
    {
      title: '类型',
      dataIndex: 'typeName',
      key: 'typeName',
      showSorterTooltip: false,
    },
    {
      title: '预期时间',
      dataIndex: 'remainTime',
      key: 'remainTime',
    },
  ],



} as any
